package com.bw.crop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.bw.itext.pdf.annotation.PdfValue;
import lombok.Data;

/**
 * 
 * @TableName sys_crop_stash
 */
@TableName(value ="sys_crop_stash")
@Data
public class SysCropStash implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 作物名称
     */
    @PdfValue(colName = "商品名称")
    private String cropName;

    /**
     * 作物编号
     */
    @PdfValue(colName = "商品编号")
    private Integer cropId;

    /**
     * 原料厂商编号
     */
    private Integer ingredientsId;

    /**
     * 原料厂商编号
     */
    private String ingredientsName;

    /**
     * 作物规格
     */
    private Integer cropRule;

    /**
     * 仓库id
     */
    private Integer stashId;

    /**
     * 加工厂商
     */
    private Integer ppId;
    /**
     * 入库时间
     */
    private Date CreateDate;
    /**
     * 数量
     */
    @PdfValue(colName = "商品入库数量")
    private Integer num;
    /**
     * 父级id
     */
    private Integer fsid;

//    @TableField(exist = false)
//    private Integer cropSum;
    @PdfValue(colName = "库区")
    @TableField(exist = false)
    private String sname;
    @PdfValue(colName = "仓库")
    @TableField(exist = false)
    private String kname;
    @TableField(exist = false)
    private String address;
    @TableField(exist = false)
    private String kqname;
    @TableField(exist = false)
    private String snum;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}